<template>
  <div class="notice-news">
    <p class="title">{{info.title}}</p>
    <p class="time"><i class="el-icon-alarm-clock" style="margin-right: 5px"></i>{{info.createTime}}</p>
    <p class="content" v-html="info.content"></p>
  </div>
</template>

<script>
  export default {
    name: "Detail",
    data(){
      return {
        info:{}
      }
    },
    created() {
      this.info=this.$route.query.data
    }
  }
</script>

<style scoped>
  .notice-news{
    margin: 10px auto;
    width: 1320px;
    background-color: #ffffff;
    padding: 30px 80px;
    min-height: 53vh;
  }
  .notice-news .title{
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    line-height: 80px;
  }

  .time {
    text-align: center;
    margin-bottom: 50px;
    font-size: 16px;
  }
  .content{
    line-height: 2;
    font-size: 16px;
  }
</style>
